<?php

namespace App\Services\Omnipay;

class MockData
{
    /**
     * IPN 通知
     *
     * @return array
     */
    public static function getPayPalExpressNotify()
    {
        return [
            'mc_gross' => '1231.25',
            'invoice' => '20190104181904558801',
            'protection_eligibility' => 'Eligible',
            'payer_id' => 'JPWVJRA2VXMPW',
            'payment_date' => '02:23:12 Jan 04, 2019 PST',
            'payment_status' => 'Completed',
            'charset' => 'gb2312',
            'first_name' => 'test',
            'mc_fee' => '42.16',
            'notify_version' => '3.9',
            'custom' => '',
            'payer_status' => 'verified',
            'business' => 'zhifuacc-facilitator@panxsoft.com',
            'quantity' => '1',
            'verify_sign' => 'AkL-E-7ohwDBewobsr9CriTmuxgTAg7XzN9yJLdatV.RgeukjpVJZlGU',
            'payer_email' => 'zhifuacc-buyer@panxsoft.com',
            'txn_id' => '6A436465VX027183A',
            'payment_type' => 'instant',
            'last_name' => 'buyer',
            'receiver_email' => 'zhifuacc-facilitator@panxsoft.com',
            'payment_fee' => '42.16',
            'shipping_discount' => '0.00',
            'receiver_id' => 'CKQB7ZCTSFJBA',
            'insurance_amount' => '0.00',
            'txn_type' => 'web_accept',
            'item_name' => '5c2f335653ef9',
            'discount' => '0.00',
            'mc_currency' => 'USD',
            'item_number' => '5c2f3356542e1',
            'residence_country' => 'CN',
            'test_ipn' => '1',
            'shipping_method' => 'Default',
            'transaction_subject' => '',
            'payment_gross' => '1231.25',
            'ipn_track_id' => '68cfece660eaa',
        ];
    }

    /**
     * @return array
     */
    public function getPayPalSyncNotify()
    {
        return [
            "real_pay_trade_no" => "95",
            "paymentId"         => "PAY-0EM82014D13970249LIUR5MA",
            "token"             => "EC-0YK986520C9744901",
            "PayerID"           => "6ZR9U2XN3FVZL",
        ];
    }
}